
//
//  BillUserModel.m
//  FinancialStore
//
//  Created by 王晓萌 on 16/8/20.
//  Copyright © 2016年 zhenqiu. All rights reserved.
//

#import "BillUserModel.h"

@implementation BillUserModel


+ (instancetype)getInstance{
    static id  instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc] init];
    });
    return instance;
}

+ (NSString *)getSubDate:(NSString *)string{
    NSRange start = [string rangeOfString:@"月"];
    NSRange end = [string rangeOfString:@"日"];
    NSString *sub = [string substringWithRange:NSMakeRange(start.location +1, end.location - start.location - 1)];
    return sub;
}
@end
